<script setup>
  import { useRoute } from 'vue-router'

  const route = useRoute()
</script>

<template>
  <div>
    <h3>排序内容</h3>
    <h3>排序内容</h3>
    <h3>排序内容</h3>
    <!-- 查询参获取 -->
    <!-- <h4> id = {{ route.query.id }}</h4> -->
    <!-- 动态参获取 -->
    <h4> id = {{ route.params.id }}</h4>
  </div>
</template>

<style scoped></style>